Optimal Randomized Comparison Based Algorithms for Collision
نویسنده
چکیده
We consider the well known problem of finding two identical elements, called a collision, in a list of n numbers. Here, the (very fast) comparison based algorithms are randomized and will only report existing collisions, and do this with (small) probability p, the success probability. We find a trade-off between p and the running time t, and show that this trade-off is optimal up to a constant factor. For worst-case running time t, the optimal success probability is p = Θ (min{t/n, 1}t/(n log t)). For expected running time t, the success probability is p = Θ (t/(n logn)).
منابع مشابه
Distributed Channel Selection and Randomized Interrogation Algorithms for Large-scale RFID Systems
Radio frequency identification (RFID) is an emerging wireless communication technology which allows objects to be identified automatically. An RFID system consists of a set of readers and several objects, equipped with small and inexpensive computer chips, called tags. In a dense RFID system, where several readers are placed together to improve the read rate and correctness, readers and tags ca...
متن کاملPERFORMANCE COMPARISON OF CBO AND ECBO FOR LOCATION FINDING PROBLEMS
The p-median problem is one of the discrete optimization problem in location theory which aims to satisfy total demand with minimum cost. A high-level algorithmic approach can be specialized to solve optimization problem. In recent years, meta-heuristic methods have been applied to support the solution of Combinatorial Optimization Problems (COP). Collision Bodies Optimization algorithm (CBO) a...
متن کاملTechno-economic Optimization of a Stand-alone Photovoltaic-battery Renewable Energy System for Low Load Factor Situation- a Comparison between Optimization Algorithms
For remote places having less-strong wind, single resources based renewable energy system (RES) with battery storage can sustainably and economically generate electrical energy. There is hardly any literature on optimal sizing of such RES for very low load demand situation. The objective of this study is to techno-economically optimize the system design of a Photovoltaic (PV)-battery storage RE...
متن کاملTesting Soccer League Competition Algorithm in Comparison with Ten Popular Meta-heuristic Algorithms for Sizing Optimization of Truss Structures
Recently, many meta-heuristic algorithms are proposed for optimization of various problems. Some of them originally are presented for continuous optimization problems and some others are just applicable for discrete ones. In the literature, sizing optimization of truss structures is one of the discrete optimization problems which is solved by many meta-heuristic algorithms. In this paper, in or...
متن کاملA Thorough Comparative Analysis of PI and Sliding Mode Controllers in Permanent Magnet Synchronous Motor Drive Based on Optimization Algorithms
In this paper, the speed tracking for permanent magnet synchronous motor (PMSM) in field oriented control (FOC) method is investigated using linear proportional-integral (PI) controller, sliding mode controller (SMC) and its advanced counterparts. The advanced SMCs considered in this paper are fuzzy SMC (FSMC) and sliding mode controller with time-varying switching gain (SMC+TG) which can effec...
متن کامل